package com.zhangmeng.tools.music.kuwo;

import lombok.Data;

@Data
public class DownLoadURL {


    /**
     * code : 200
     * msg : success
     * reqId : c7fe6fc8f706887a55d212874d085682
     * data : {"url":"https://other-web-ra01-sycdn.kuwo.cn/9a2886aa582be88eff47806f8c8680a0/63c5ff15/resource/n3/320/81/60/2729835609.mp3"}
     * profileId : site
     * curTime : 1673920277475
     * success : true
     */

    private int code;
    private String msg;
    private String reqId;
    private URL data;
    private String profileId;
    private long curTime;
    private boolean success;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getReqId() {
        return reqId;
    }

    public void setReqId(String reqId) {
        this.reqId = reqId;
    }

    public String getProfileId() {
        return profileId;
    }

    public void setProfileId(String profileId) {
        this.profileId = profileId;
    }

    public long getCurTime() {
        return curTime;
    }

    public void setCurTime(long curTime) {
        this.curTime = curTime;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class URL {
        /**
         * url : https://other-web-ra01-sycdn.kuwo.cn/9a2886aa582be88eff47806f8c8680a0/63c5ff15/resource/n3/320/81/60/2729835609.mp3
         */

        private String url;

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
